Readme.txt
Luke 1st May 2023

This note explains the empirical and numerical files used to produce the results presented in 
the article "The welfare costs of job loss and decarbonization
- evidence from Germany’s coal phase out" by Luke Haywood, Markus Janser & Nicolas Koch

Access to the administrative data require prior authorisation 
by the Institute for Employment Research (IAB).

### Stata files ###

First, run 
	0master.do
which calls
	1prepare.do
and 
	5estimations.do
and
	7biocoal.do.

### Matlab files ###

First, for a whole-sample estimation, run
	Bestim.m
and, for a cell-based estimation, run
	Bestimcell.m
	(including various options by changing the value of sample (line 79))
which calls
	Calgo.m
	Calgob.m
	Calgobm.m

Second, based on the results calculated, simulate counterfactual policies using
	Asimul.m
	Asimulage.m

